package com.toro.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Set;

/**
 * @ClassName: Group
 * @Description: 群组表
 * @Author: ToroLHZ
 * @Date: 2023/12/17 14:31
 */
@Data
@NoArgsConstructor
public class Group {
    private int groupId;
    private String groupName;
    private int creatorId;
    private ArrayList<Integer> members;
//    public static final Group EMPTY_GROUP = new Group("empty", Collections.emptySet());
    public Group(String name, ArrayList<Integer> members) {
        this.groupName = name;
        this.members = members;
    }
}
